﻿using System;
using System.Collections.Generic;
using Color = System.Drawing.Color;
using SwinGame;

namespace Gundam_2._0_Alpha.src
{
    public abstract class CharacterAction:IAction
    {
        private bool isActive = false, persistant, immune = false;
        protected int row, colEnd, count;
        protected Character c;
        private int lockoutLevel;

        public bool Immune
        {
            get { return immune; }
            set { immune = value; }
        }

        public int LockoutLevel
        {
            get { return lockoutLevel; }
        }

        public bool Persistant
        {
            get { return persistant; }
        }

        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }

        public CharacterAction(Character c, bool persistant, int row, int colEnd, int count, int lockoutLevel)
        {
            this.persistant = persistant;
            this.row = row;
            this.colEnd = colEnd;
            this.count = count;
            this.c = c;
            this.lockoutLevel = lockoutLevel;
        }

        public abstract void DoAction(GameController gc);
        public abstract void Reset(GameController gc);

    }
}
